﻿
@{
    ViewData["Title"] = "登录";
}

@model Powerpi.Models.LoginViewModel;
<form class="form-horizontal" method="post">
    <div class="form-group">
        <label for="account" class="col-sm-2 control-label">账号</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" asp-for="Account" id="account" value="@Model.Account" placeholder="账号">
        </div>
    </div>
    <div class="form-group">
        <label for="password" class="col-sm-2 control-label">密码</label>
        <div class="col-sm-10">
            <input type="password" class="form-control" asp-for="Password" id="password" value="@Model.Password" placeholder="密码">
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-success">登录</button>
        </div>
    </div>
    <div class="form-group">
        <p class="lead">@ViewBag.Message</p>
    </div>
</form>

